# @Author：silence
# @Email：792245022@qq.com
# @Date：2025/2/25 2:01

class HouseUtil:

    @staticmethod
    def read_confirm_select():
        print("请输入你的选择（Y/N），请确认选择：", end="")
        while True:
            choose = input()
            if choose.upper() == "N" or choose.upper() == "Y":
                break
            else:
                print("输入有误，请重新输入：", end="")
        return choose.upper()